Skip to content

gh-156466: Fix additional compiler scope cleanup errors - #156547

Open
JelleZijlstra wants to merge 1 commit into
python:mainfrom
JelleZijlstra:codex/compiler-scope-cleanup
Open

gh-156466: Fix additional compiler scope cleanup errors#156547
JelleZijlstra wants to merge 1 commit into
python:mainfrom
JelleZijlstra:codex/compiler-scope-cleanup

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented Aug 29, 2026

Copy link
Copy Markdown
Member

Two small cleanup bugs:

  • codegen_class_body was missing an IN_SCOPE
  • _PyCompile_CodeGen could exit a scope that was never entered in the path where metadata failed allocation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant